<?php

define('DB_SERVER', 'localhost');
define('DB_NAME', 'ds_hongchiao_2');
define('DB_USER', 'root');
define('DB_PWD', '1234');

define('URL','http://localhost/www/office/ds/hongchiao/source');
define('ADMIN',URL.'/admin');
define('APPPATH',$_SERVER['DOCUMENT_ROOT'].'/www/office/ds/hongchiao/source');
define('ADMINPATH',APPPATH.'/admin');

define('SITENAME','HONG CHIAO');

define('DB_CHARSET', 'UTF8');
date_default_timezone_set('Asia/Bangkok');

define('HR',3600);
define('DAY',86400);
define('PAGE',50);

/******************* EMAIL *********************/
define('REGIS_CONFIRM_TITLE','Email confirmation');
define('FORGET_PASS_TITLE','HongChiao: reset user password');
define('REGIS_SUCCESS_TITLE','Register completed');
define('QOUTE_MAIL_TITLE','Call for Pricing.');
define('SALE_QOUTE_MAIL_TITLE','Call for Pricing.');
define('MAIN_EMAIL','admin@localhost.com');
define('SALE_EMAIL','admin@localhost.com');

/******************* MESSAGE *********************/
$status_msg['regis_unconfirm'] = 'Congratulation! You have registered successfully. Please check your email for password.';
$status_msg['email_used'] = 'This e-mail is already taken.';
$status_msg['cant_add'] = 'Sorry, cannot save data. Please, try again later.';
$status_msg['invalid_code'] = 'Your password is invalid.';
$status_msg['regis_success'] = 'Thank you, your email has been confirmed. You can login right now.';
$status_msg['email_dont_exist'] = 'Sorry, this email don\'t have registered.';
$status_msg['forget_pass'] = 'You have changed your password and the confirmation has been send to your email box.';
$status_msg['pass_change_success'] = 'you have change your password successfully.';
$status_msg['contact_success'] = 'Thank you, we have received your message. We will contact you back immediately.';
$status_msg['must_login'] = 'Plase log in / register before Order. Thank you!';
$status_msg['cart_empty'] = 'Your Cart is Empty.';
$status_msg['qoute_success'] = 'We have your order right now. We will contact you back immediately.';
$status_msg['no_product_in_collection'] = 'Not Available in collection.';
$status_msg['allready_login'] = 'Your log in success.';
$status_msg['login_fail'] = 'email or password wrong';
$status_msg['passwrong'] = 'password wrong';
$status_msg['update_success'] = 'your profile has been successfuly updated';
?>